package com.leslie.wukong.biz.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * ClassName: UserLoginDTO
 * Package: com.leslie.wukong.biz.system.domain.dto
 * Description:
 * @date: 2024/12/4 16:22
 * @author: itcoder
 */
@Data
@ApiModel(description = "登录DTO")
public class UserLoginDTO {
    @ApiModelProperty("用户名")
    @NotNull(message = "用户名为空")
    private String username;

    @ApiModelProperty("密码")
    @NotNull(message = "密码为空")
    private String password;
}
